<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<title>管理页面</title>
<script language="JavaScript">
function logout(){
	if (confirm("您确定要退出控制面板吗？"))
	top.location = "<%=basePath%>admin/webapp/logout.jsp";
	return false;
}
</script>
<script language="JavaScript1.2">
function showsubmenu(sid) {
	var whichEl = eval("submenu" + sid);
	var menuTitle = eval("menuTitle" + sid);
	if (whichEl.style.display == "none"){
		eval("submenu" + sid + ".style.display=\"\";");
	}else{
		eval("submenu" + sid + ".style.display=\"none\";");
	}
}
</script>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<script language="JavaScript1.2">
function showsubmenu(sid) {
	var whichEl = eval("submenu" + sid);
	var menuTitle = eval("menuTitle" + sid);
	if (whichEl.style.display == "none"){
		eval("submenu" + sid + ".style.display=\"\";");
	}else{
		eval("submenu" + sid + ".style.display=\"none\";");
	}
}
</script>
<base target="main">
<link href="<%=basePath%>admin/images/skin.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<table width="100%" height="64" border="0" cellpadding="0" cellspacing="0" class="admin_topbg">
  <tr>
    <td width="50%" height="64"><img src="<%=basePath%>admin/images/logo.gif" width="262" height="64"></td>
    <td width="50%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="74%" height="38" class="admin_txt">    
        <c:if test="${'1' eq role}">
          系统管理员：【<c:out value="${manager.uname}"/>】
        </c:if>
        <c:if test="${'2' eq role}">
          【${manager.sname}】校区推广：【<c:out value="${manager.uanme}"/>】
        </c:if>
        <c:if test="${'3' eq role}">
          【<c:out value="${manager.allname}"/>】的【<c:out value="${manager.bname}"/>】
        </c:if>
         您好,感谢登陆使用<a href="http://www.ncjzw.net" style="color: #FF6600;font-weight: bold" target="_black">【http://www.ncjzw.net】</a></td>
        <td width="22%"><a href="#" target="_self" onClick="logout();"><img src="<%=basePath%>admin/images/out.gif" alt="安全退出" width="46" height="20" border="0"></a></td>
        <td width="4%">&nbsp;</td>
      </tr>
      <tr>
        <td height="19" colspan="3">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

